package com.maxlen.goods.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maxlen.goods.entity.AttrAttrgroupRelationEntity;
import com.maxlen.goods.entity.vo.AttrAttrgroupRelationDelVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 09:43:29
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {
    void deleteBatchAttrId(List<Long> attrId);

    void updateBatchByAttrgroupId(List<Long> attrGroupIds);

    void updateBatchByAttrIdAndAttrGroupId(List<AttrAttrgroupRelationDelVO> relationDelVOList);
}
